Skip to content

Optionally provide wasm-opt in images, update README#24

Merged
psilva261 merged 1 commit intomasterfrom
wamr-wasm-opt
Mar 4, 2026
Merged

Optionally provide wasm-opt in images, update README#24
psilva261 merged 1 commit intomasterfrom
wamr-wasm-opt

Conversation

@psilva261
Copy link
Collaborator

@psilva261 psilva261 commented Feb 26, 2026

Provide wasm-opt in images, just purely optional so it can be used when needed. I've done quite a lot of benchmarks with it and hardly seen any improvements on otherwise optimized code. Also change AOT file extension to be compatible with e.g. aot-analyzer and update README with result from previous changes #25

@github-actions
Copy link

Benchmark Results (71c59b5)

Language native w2c2-O0 w2c2-O3 wamr wasmer wasmtime
stateless 234638417 6025861922 N/A 3118206891 951626876 866871336
reva-client-eth 387726654 4471418839 1375615322 2466882619 N/A 1028112828

* Add wasm-opt to image as optional tool (in general it wont add performance to clang/gcc optimized code though)
* use .aot ending for wamrc output files so aot-analyzer can be used
* update README with results from Pull request #25 max opt level for wamrc
@psilva261 psilva261 changed the title Use wasm-opt for WAMR Optionally provide wasm-opt in images, update README Mar 3, 2026
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Benchmark Results (8d61c64)

Language native w2c2-O0 w2c2-O3 wamr wasmer wasmtime
stateless 234445621 6025861923 N/A 2324683365 951865575 866574751
reva-client-eth 387717627 4471418840 1375615326 1944993051 N/A 1027819484

@psilva261 psilva261 marked this pull request as ready for review March 3, 2026 15:27
@psilva261 psilva261 merged commit bde69a2 into master Mar 4, 2026
1 check passed
@psilva261 psilva261 deleted the wamr-wasm-opt branch March 4, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant